package com.dataseek.iot.device.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "tenant.mqtt_log")
public class MqttLog {
    @TableField(value = "tenant_code")
    private String tenantCode;
    //用户id标识
    @TableId(value = "mqttlogid")
    private Long mqttLogId;

    @TableField(value = "topic")
    private String topic;

    @TableField(value = "messge")
    private String message;

    @TableField(value = "sendtime")
    private String sendTime;

    @TableField(value = "messageid")
    private String messageId;

    @TableField(value = "timestamp")
    private Long timestamp;
}
